#ifndef SETTINGSWINDOW_H
#define SETTINGSWINDOW_H

#include <QDialog>
#include <QMessageBox>
#include <QSettings>
#include <QWidget>

namespace Ui
{
    class SettingsWindow;
}

class SettingsWindow : public QDialog
{
    Q_OBJECT

public:
    explicit SettingsWindow(QWidget *parent = 0);
    ~SettingsWindow();
    void LoadSettings();
    void SetWidget(QWidget *w){widget=w;}
private:
    Ui::SettingsWindow *ui;
    QMessageBox MessageBox;
    QSettings settings;
    QWidget *widget;
private slots:
    void on_pushButton_clicked();
};

#endif // SETTINGSWINDOW_H
